package com.example.sqlitedemo.dao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;

/**
 * Created Date 2019/2/14.
 *
 * @author liangkun
 * ClassDescription：人脸特征
 */
@Entity(nameInDb = "t_facefeature")
public class FaceFeature {
    @Id
    private String uuid; //主键
    @Property(nameInDb = "photo_md5")
    private String photoMd5;
    @Property(nameInDb = "face_tonken")
    private String faceTonken; //人脸唯一标志
    @Property(nameInDb = "face_md5")
    private String faceMd5; //该人脸在图片md5的位置

    @Generated(hash = 1671393673)
    public FaceFeature() {
    }

    @Generated(hash = 531546572)
    public FaceFeature(String uuid, String photoMd5, String faceTonken,
            String faceMd5) {
        this.uuid = uuid;
        this.photoMd5 = photoMd5;
        this.faceTonken = faceTonken;
        this.faceMd5 = faceMd5;
    }

    public String getPhotoMd5() {
        return this.photoMd5;
    }

    public void setPhotoMd5(String photoMd5) {
        this.photoMd5 = photoMd5;
    }

    public String getFaceTonken() {
        return this.faceTonken;
    }

    public void setFaceTonken(String faceTonken) {
        this.faceTonken = faceTonken;
    }

    public String getFaceMd5() {
        return this.faceMd5;
    }

    public void setFaceMd5(String faceMd5) {
        this.faceMd5 = faceMd5;
    }


    public String getUuid() {
        return this.uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

}
